package com.lpy.book.model;

import lombok.Data;

@Data
public class BorrowDetail {

    private Integer borrowId;
    private Integer userId;
    private Integer bookId;
    private Integer status;     //状态  1在借  2已还
    private Long borrowTime;
    private Long returnTime;

    public BorrowDetail() {

    }
    public BorrowDetail(Integer borrowId, Integer userId, Integer bookId, Integer status, Long borrowTime, Long returnTime) {
        this.borrowId = borrowId;
        this.userId = userId;
        this.bookId = bookId;
        this.status = status;
        this.borrowTime = borrowTime;
        this.returnTime = returnTime;
    }
}
